package com.telit.web.domain.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;
import java.util.Map;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class AliVideoPojo {

    @ApiModelProperty(value = "房间号")
    private String channelId;

    private String appId;

    private String appKey;

    private String gslb;

    private String timestamp;

    private Date pushDate;

    @ApiModelProperty(value = "传audio(音频) video(视频)")
    private String flag;

    @ApiModelProperty(value = "用户名")
    private String userName;

    private String fromUserId;

    @ApiModelProperty(value = "来源(从app端打的通话还是web端),例如:app,web")
    private String resource;

    @NotNull(message = "protectorDataList 参数不能为空,")
    @ApiModelProperty(value = "需要拨通的app端用户信息")
    private List<Map<String, String>> protectorDataList;

    @ApiModelProperty(value = "火情id")
    private String fireId;

}
